package cn.kgc.service;

import cn.kgc.entity.RoleInfo;
import cn.kgc.entity.UserInfo;
import com.github.pagehelper.Page;

import java.util.List;

public interface UserService {

    public UserInfo login(String username,String password);

    public Page<List<UserInfo>> getUser(Integer pageNo, Integer pageSize, String name);

    public  void addUser(UserInfo userInfo);

    public  UserInfo getRoleById(Integer id);

    public void deleteUser(String ids);

}
